<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="layout::header">

</head>
<body>
<nav th:replace="layout::navbar"></nav>
<div class="newContainer">
    <div class="newCenter">
        <div class="newLeft">
            <h4>创建公司信息</h4><br/>
            <form th:action="@{/companies/save}" method="POST" th:object="${company}" >
                <table class="companyTA">
                    <tr >
                        <td>公司名称:</td>
                        <td colspan="2"><input type="text" th:field="*{companyName}"/></td>
                    </tr>
                    <tr>
                        <td>公司地址:</td>
                        <td colspan="2"><input type="text" th:field="*{companyPlace}"/></td>
                    </tr>
                    <tr>
                        <td>公司描述:</td>
                        <td colspan="2"><textarea type="text" th:field="*{companyDescription}"></textarea></td>
                    </tr>
                    <tr>
                        <td> </td><td colspan="2" th:align="right"><button type="submit">提交</button> </td>
                    </tr>

                </table>
            </form>
        </div>
        <div class="newRight">
            <img src="../../static/img/01.webp" th:src="@{/img/01.webp}"/>

        </div>
    </div>
</div>
</body>
</html>
